body {
  height: 100%;
  font-size: 14px;
}

.wh100 {
  width: 100%;
  height: 100%;
}

.whf100 {
  flex: 1 0;
  width: 100%;
}

.shrink-0 {
  flex-shrink: 0;
}

.relative {
  position: relative;
}

.full-height {
  height: 100%;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.page_container {
  margin: 0 16px;
  box-sizing: border-box;
  background-color: #fff;
  min-height: calc(97vh - #{$topNavHeight});
}

.tree_manage_max {
  height: 80vh;
  padding: 16px;
  overflow-y: scroll;
  box-sizing: border-box;

  .el-tree-node__content {
    height: 32px;
    font-size: 16px;
  }
}

img:not([src]) {
  opacity: 0;
}

img[src=''] {
  opacity: 0;
}

.line_bgc {
  width: 100%;
  height: 14px;
  background-color: #f7f7f7;
}

.color-green {
  color: #00A57F;
}

.color-red {
  color: red;
}

.color-blue {
  color: rgba(41, 114, 254, 1);
}

.color-white, .f-white {
  color: $white;
}

.head_icon_dialog_max {
  .el-input__inner {
    min-width: 223px;
  }

  .form_block {
    display: block;
  }
}

// 富文本层级
.tox-tinymce-aux {
  z-index: 3000 !important;
}

//openlayer
.ol-attribution.ol-uncollapsible {
  display: none;
}

.cursor-pointer {
  cursor: pointer;
}

// 默认按钮
.common-primary-button {
  height: 28px;
  box-sizing: border-box;
  font-size: $sizeSmall;
  padding: 2px 10px;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  color: white;
  flex-shrink: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  width: fit-content;
  background-color: $color;
  border-color: $color;

  > .iconfont {
    margin-right: 4px;
  }

  &:hover {
    background: rgb(101, 149, 251);
    border-color: rgb(101, 149, 251);
  }
}

.common-primary-big-button {
  @extend .common-primary-button;
  background-color: $color;
  border-color: $color;
  font-size: 16px;
  height: 50px;
}

.pointer {
  cursor: pointer;
}

.error-img {
  width: 100%;
  height: 100%;
}

.line-clamp-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.YouSheBiaoTiHei {
  font-family: YouSheBiaoTiHei, "Microsoft Yahei", "微软雅黑", Tahoma, Arial, STHeiti, sans-serif;
}

.PangMenZhengDao {
  font-family: PangMenZhengDao, "Microsoft Yahei", "微软雅黑", Tahoma, Arial, STHeiti, sans-serif;
}

.YiTi {
  font-family: YiTi, "Microsoft Yahei", "微软雅黑", Arial, sans-serif;
}

.image-init-bg {
  background-color: rgba(0, 0, 0, 0.2);
}

/*吸顶*/
.sticky {
  position: sticky;
  top: 0;
  z-index: 1;
}

.sticky-2 {
  position: sticky;
  top: 0;
  z-index: 2;
}

.text-justify {
  text-align: justify;
  text-align-last: justify;

  &.maohao {
    position: relative;
    padding-right: 12px;

    &:after {
      content: '：';
      position: absolute;
      right: 0;
    }
  }
}
